﻿@using SH = EMoney.IStock.Client.Framework.StringHelper;
@using EMoney.IStock.Client.Models.QQ;
@using EMoney.IStock.Client.Framework;
@{
    //昨日聚焦
    ViewBag.Title = "rank_gsjj_yesterday";
    List<TB_FocusStock> gsjj_yesterday_lst = (List<TB_FocusStock>)ViewBag.gsjj_yesterday;
    string stocksCode = string.Empty;
}
@{
    if (gsjj_yesterday_lst != null && gsjj_yesterday_lst.Count > 0)
    {
        string stockcode = string.Empty; 
        foreach (TB_FocusStock model in gsjj_yesterday_lst)
        {
            stockcode = SH.FormatQQStockCode(model.SecuCode);
            stocksCode += stockcode + ",";
            <div class="data_new_list" code="@stockcode"  onclick="GroupToKLine('昨日聚焦','@(stockcode)','@(stockcode)')">
                <div class="p1">
                     <p class="yellow">@(model.SecuName)</p>
                    <p>@(stockcode)</p>
                </div>
                <div class="p2"><span class="red">8.69</span></div>
                <div class="p2"><span class="red">8.69%</span></div>
                <div class="data_new_prompt">
                    <span class="data_new_prompt_font">有@(model.Number)名高手买入平均成本@(model.AvgPrice)</span>
                    <span class="data_new_prompt_right">
                        <img src="@SH.GetStaticFile("IStockClientStatic/qq/images/data_new_prompt_bg.png")" /></span>
                </div>
                <div class="clear"></div>
            </div>
        }
    }else
    {
        <div style="text-align:center;">--无记录--</div>
    }
}
<input type="hidden" id="hidStocks_gsjj_yesterday" value="@stocksCode" />